package com.ztools.mvp.proxy;

import android.os.Bundle;

import com.ztools.mvp.IPresenter;
import com.ztools.mvp.IView;


/**
 * 管理Activity的生命周期
 * Created by zhangxuehui on 2018/3/13.
 */

public interface ActivityLifecycleCallback<V extends IView, P extends IPresenter<V>> {

    void onCreate(Bundle savedInstanceState);

    void onStart();

    void onPause();

    void onResume();

    void onRestart();

    void onStop();

    void onDestroy();
}
